﻿using System;
using System.Collections.Generic;
using System.Text;
using fuzhu;
using XXX.Common;

namespace XXX.Bo
{
   public class JinTongUser
    {
        public static  int checkuser(string username, string password)
        {
            string sql = string.Format(@"select  count(1) from zdy_jintong_wanhuapwd where cuser='{0}' and cpassword='{1}' 
                ", username, password);
            int iRe =DbHelper.GetDbInt(DbHelper2.ExecuteScalar(sql, CanShu.conStr));
            return iRe;
        }
    }
}
